package com.yunhe.common.relat.base;

import com.yunhe.common.model.base.DataType;
import com.yunhe.common.model.base.MeasurementUnit;
import com.yunhe.common.model.base.StatusType;

/**
 * 点号数据类型对象
 * 用于SpringDateNeo4j的关系依赖
 * @author liuronglei
 */
public class PointDataType extends StatusType {
    private Long id;
    private Long code;
    private String name;
    private String title;
    private String symbol;
    private Boolean activity;
    private Long accuracyId;
    private String accuracyName;
    private String accuracyTitle;
    private Long sn;
    private MeasurementUnit unit;
    private DataType dataType;
    private Boolean virtual;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public Long getCode() {
        return code;
    }

    public void setCode(Long code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getTitle() {
        return title;
    }

    @Override
    public void setTitle(String title) {
        this.title = title;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    @Override
    public Boolean getActivity() {
        return activity;
    }

    @Override
    public void setActivity(Boolean activity) {
        this.activity = activity;
    }

    public Long getAccuracyId() {
        return accuracyId;
    }

    public void setAccuracyId(Long accuracyId) {
        this.accuracyId = accuracyId;
    }

    public String getAccuracyName() {
        return accuracyName;
    }

    public void setAccuracyName(String accuracyName) {
        this.accuracyName = accuracyName;
    }

    public String getAccuracyTitle() {
        return accuracyTitle;
    }

    public void setAccuracyTitle(String accuracyTitle) {
        this.accuracyTitle = accuracyTitle;
    }

    @Override
    public Long getSn() {
        return sn;
    }

    @Override
    public void setSn(Long sn) {
        this.sn = sn;
    }

    public MeasurementUnit getUnit() {
        return unit;
    }

    public void setUnit(MeasurementUnit unit) {
        this.unit = unit;
    }

    public DataType getDataType() {
        return dataType;
    }

    public void setDataType(DataType dataType) {
        this.dataType = dataType;
    }

    public Boolean getVirtual() {
        return virtual;
    }

    public void setVirtual(Boolean virtual) {
        this.virtual = virtual;
    }
}
